<?php /* Smarty version 2.6.18, created on 2016-12-02 16:04:06
         compiled from grade/grade.allot.tbl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="POST">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">班科分配</p>
                </div>
                <div class="box-body">
				<h4 class="text-center">设置各年级或各班授课科目</h4><hr/>
                  <div class="form-group">
                      <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                           年级名称：
                      </label>
                      <div class="input-group col-md-6 col-sm-12 col-xs-12">
                          <p><?php echo $this->_tpl_vars['grade_data']['grade_name']; ?>
</p>
                      </div>
                   </div>
                   <div class="form-group">
                      <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                           班级名称：
                      </label>
                      <div class="input-group col-md-6 col-sm-12 col-xs-12">
                           <?php $_from = $this->_tpl_vars['class_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                          <label class="choice">
							  <input type="checkbox" class="minimal_1" value="<?php echo $this->_tpl_vars['value']['class_id']; ?>
" name="class_id[]"> <?php echo $this->_tpl_vars['value']['class_name']; ?>

						  </label>
                           <?php endforeach; endif; unset($_from); ?>     
                      </div>
                   </div>
                   <div class="form-group">
                      <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
                           学科名称：
                      </label>
                      <div class="input-group col-md-6 col-sm-12 col-xs-12">
                      <?php $_from = $this->_tpl_vars['subject_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                          <label class="choice">
							  <input type="checkbox" class="minimal_1" value="<?php echo $this->_tpl_vars['value']['subject_id']; ?>
" name="subject_id[]"> <?php echo $this->_tpl_vars['value']['subject_name']; ?>

						  </label>
					  <?php endforeach; endif; unset($_from); ?>  
							
                      </div>
                   </div>				   
                   
				   
				   
				   
				   
				   
				    </div><!--box-body -->
                <div class="box-footer text-center">
                    <button type="submit" class="btn btn-primary ">保 存</button>
                </div>
             </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
